<template>
  <div class="class-list">
    班级列表
    <breadcrumb2></breadcrumb2>
  </div>
</template>
<script>
import Breadcrumb2 from './BreadcrumbSelf2';
import { mapMutations } from 'vuex';
export default {
  components: {
    breadcrumb2: Breadcrumb2,
  },
  created() {
    this.setBreadcrumb('学生列表');
  },
  methods: {
    ...mapMutations(['changeBreadcrumb2']),
    setBreadcrumb(pathName) {
      let list = [
        { name: "班级列表", path: "" },
        { name: "班级", path: "/one/tow"},
        { name: pathName, path: ""}
      ]
      let isShow = true;
      this.changeBreadcrumb2({ isShow, list});
    }
  },
}
</script>
<style lang="less" scoped>

</style>
